package com.atguigu.jxc.service;

import com.atguigu.jxc.domain.ServiceVO;
import com.atguigu.jxc.entity.PurchaseList;
import com.atguigu.jxc.entity.Supplier;
import com.github.pagehelper.PageInfo;

import java.util.Map;

/**
 * @description
 */
public interface PurchaseListGoodsService {

    //分页查询供应商
    PageInfo<Supplier> supplierList(Integer page,Integer rows,String supplierName);

    //添加供应商
    void addSupplier(Supplier supplier);

    //修改供应商
    void updataSupplier(Integer supplierId, Supplier supplier);

    //删除供应商
    void removeSupplier(String ids);





















   /* ServiceVO save(PurchaseList purchaseList, String purchaseListGoodsStr);

    Map<String, Object> list(String purchaseNumber,
                            Integer supplierId,
                            Integer state,
                            String sTime,
                            String eTime);

    Map<String, Object> goodsList(Integer purchaseListId);

    ServiceVO delete(Integer purchaseListId);

    ServiceVO updateState(Integer purchaseListId);

    String count(String sTime, String eTime ,Integer goodsTypeId, String codeOrName);*/
}
